<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui" >
	<ui:composition >
		<ui:param name="idTag" value="#{id}"/>
		<ui:param name="labelTag" value="#{label}"/>
		<ui:param name="valueTag" value="#{value}"/>
		<ui:param name="requiredTag" value="#{required}"/>
		<ui:param name="renderedTag" value="#{empty rendered?true:rendered}" />
		<ui:param name="validatorMessageTag" value="#{empty validatorMessage?'':validatorMessage}"/>

		<p:outputLabel value="#{labelTag}:" for="#{idTag}" rendered="#{renderedTag}" style="float:right;"/>
		<p:inputText value="#{valueTag}" size="30" id="#{idTag}" maxlength="255"
		 required="#{requiredTag}" rendered="#{renderedTag}" validatorMessage="#{validatorMessageTag}">
		
			<ui:insert/>
		</p:inputText>
		<p:message for="#{idTag}" rendered="#{renderedTag}" display="icon"/>
	</ui:composition>
</html>